/*
 * Tezad - Classic puzzle game
 * Copyright 2009 Shayne Riley and Paul Maseberg
 *
 * Tezad is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Tezad is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tezad.  If not, see <http://www.gnu.org/licenses/>
 * or write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * To contact the authors on questions or issues regarding the license,
 * you may send an email to <pezads at gmail dot com>
 */

#ifndef INPUTREQS_H_
#define INPUTREQS_H_

#include "Command.h"
#include "CommandActions.h"

class InputReqs : public Command
{
public:
    static const int IN_SHIFT_LEFT = 0x1;
    static const int IN_SHIFT_RIGHT = 0x2;
    static const int IN_SOFT_DOWN = 0x4;
    static const int IN_HARD_DOWN = 0x8;
    static const int IN_ROTATE_CCW = 0x10;
    static const int IN_ROTATE_CW = 0x20;

    InputReqs(int inputType, bool pressed);
    virtual ~InputReqs();
    virtual void execute(CommandActions &actions) const;
private:
    int mInputType;
    bool mPressed;
};

#endif /* INPUTREQS_H_ */
